package com.cmc;


/**
 * Constant values used throughout the application.
 *
 * <p>
 * <a href="Constants.java.html"><i>View Source</i></a>
 * </p>
 *
 * @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
 */
public class Constants {
    //~ Static fields/initializers =============================================
   
    /** The name of the ResourceBundle used in this application */
    public static final String BUNDLE_KEY = "ApplicationResources";

    /** The encryption algorithm key to be used for passwords */
    public static final String ENC_ALGORITHM = "algorithm";

    /** A flag to indicate if passwords should be encrypted */
    public static final String ENCRYPT_PASSWORD = "encryptPassword";

    /** File separator from System properties */
    public static final String FILE_SEP = System.getProperty("file.separator");

    /** User home from System properties */
    public static final String USER_HOME = System.getProperty("user.home") + FILE_SEP;

    /** The name of the configuration hashmap stored in application scope. */
    public static final String CONFIG = "appConfig";

    /** 
     * Session scope attribute that holds the locale set by the user. By setting this key
     * to the same one that Struts uses, we get synchronization in Struts w/o having
     * to do extra work or have two session-level variables.
     */ 
    public static final String PREFERRED_LOCALE_KEY = "org.apache.struts.action.LOCALE";
    
    /**
     * The request scope attribute under which an editable user form is stored
     */
    public static final String USER_KEY = "userForm";

    /**
     * The request scope attribute that holds the user list
     */
    public static final String USER_LIST = "userList";

    /**
     * The request scope attribute for indicating a newly-registered user
     */
    public static final String REGISTERED = "registered";

    /**
     * The name of the Administrator role, as specified in web.xml
     */
    public static final String ADMIN_ROLE = "admin";

    /**
     * The name of the User role, as specified in web.xml
     */
    public static final String USER_ROLE = "user";

    /**
     * The name of the user's role list, a request-scoped attribute
     * when adding/editing a user.
     */
    public static final String USER_ROLES = "userRoles";

    /**
     * The name of the available roles list, a request-scoped attribute
     * when adding/editing a user.
     */
    public static final String AVAILABLE_ROLES = "availableRoles";

    /**
     * The name of the CSS Theme setting.
     */
    public static final String CSS_THEME = "csstheme";


























//System-START
    /**
     * The request scope attribute that holds the system form.
     */
    public static final String SYSTEM_KEY = "systemForm";

    /**
     * The request scope attribute that holds the system list
     */
    public static final String SYSTEM_LIST = "systemList";
//System-END

//TimeZone-START
    /**
     * The request scope attribute that holds the timeZone form.
     */
    public static final String TIMEZONE_KEY = "timeZoneForm";

    /**
     * The request scope attribute that holds the timeZone list
     */
    public static final String TIMEZONE_LIST = "timeZoneList";
//TimeZone-END

//Generalsetting-START
    /**
     * The request scope attribute that holds the generalsetting form.
     */
    public static final String GENERALSETTING_KEY = "generalsettingForm";

    /**
     * The request scope attribute that holds the generalsetting list
     */
    public static final String GENERALSETTING_LIST = "generalsettingList";
//Generalsetting-END



//OrgLevelSetting-START
    /**
     * The request scope attribute that holds the orgLevelSetting form.
     */
    public static final String ORGLEVELSETTING_KEY = "orgLevelSettingForm";

    /**
     * The request scope attribute that holds the orgLevelSetting list
     */
    public static final String ORGLEVELSETTING_LIST = "orgLevelSettingList";
//OrgLevelSetting-END







//Region-START
    /**
     * The request scope attribute that holds the region form.
     */
    public static final String REGION_KEY = "regionForm";

    /**
     * The request scope attribute that holds the region list
     */
    public static final String REGION_LIST = "regionList";
//Region-END



//Nation-START
    /**
     * The request scope attribute that holds the nation form.
     */
    public static final String NATION_KEY = "nationForm";

    /**
     * The request scope attribute that holds the nation list
     */
    public static final String NATION_LIST = "nationList";
//Nation-END



//Place-START
    /**
     * The request scope attribute that holds the place form.
     */
    public static final String PLACE_KEY = "placeForm";

    /**
     * The request scope attribute that holds the place list
     */
    public static final String PLACE_LIST = "placeList";
//Place-END



//RightRule-START
    /**
     * The request scope attribute that holds the rightRule form.
     */
    public static final String RIGHTRULE_KEY = "rightRuleForm";

    /**
     * The request scope attribute that holds the rightRule list
     */
    public static final String RIGHTRULE_LIST = "rightRuleList";
//RightRule-END

//Rest-START
    /**
     * The request scope attribute that holds the rest form.
     */
    public static final String REST_KEY = "restForm";

    /**
     * The request scope attribute that holds the rest list
     */
    public static final String REST_LIST = "restList";
//Rest-END





//Company-START
    /**
     * The request scope attribute that holds the company form.
     */
    public static final String COMPANY_KEY = "companyForm";

    /**
     * The request scope attribute that holds the company list
     */
    public static final String COMPANY_LIST = "companyList";
//Company-END



//Employee-START
    /**
     * The request scope attribute that holds the employee form.
     */
    public static final String EMPLOYEE_KEY = "employeeForm";

    /**
     * The request scope attribute that holds the employee list
     */
    public static final String EMPLOYEE_LIST = "employeeList";
//Employee-END

//GroupSetting-START
    /**
     * The request scope attribute that holds the groupSetting form.
     */
    public static final String GROUPSETTING_KEY = "groupSettingForm";

    /**
     * The request scope attribute that holds the groupSetting list
     */
    public static final String GROUPSETTING_LIST = "groupSettingList";
//GroupSetting-END

//Department-START
    /**
     * The request scope attribute that holds the department form.
     */
    public static final String DEPARTMENT_KEY = "departmentForm";

    /**
     * The request scope attribute that holds the department list
     */
    public static final String DEPARTMENT_LIST = "departmentList";
//Department-END





//WorkType-START
    /**
     * The request scope attribute that holds the workType form.
     */
    public static final String WORKTYPE_KEY = "workTypeForm";

    /**
     * The request scope attribute that holds the workType list
     */
    public static final String WORKTYPE_LIST = "workTypeList";
//WorkType-END

//EmpWorkCalendar-START
    /**
     * The request scope attribute that holds the empWorkCalendar form.
     */
    public static final String EMPWORKCALENDAR_KEY = "empWorkCalendarForm";

    /**
     * The request scope attribute that holds the empWorkCalendar list
     */
    public static final String EMPWORKCALENDAR_LIST = "empWorkCalendarList";
//EmpWorkCalendar-END

//CalendarWorktype-START
    /**
     * The request scope attribute that holds the calendarWorktype form.
     */
    public static final String CALENDARWORKTYPE_KEY = "calendarWorktypeForm";

    /**
     * The request scope attribute that holds the calendarWorktype list
     */
    public static final String CALENDARWORKTYPE_LIST = "calendarWorktypeList";
//CalendarWorktype-END



//SystemRight-START
    /**
     * The request scope attribute that holds the systemRight form.
     */
    public static final String SYSTEMRIGHT_KEY = "systemRightForm";

    /**
     * The request scope attribute that holds the systemRight list
     */
    public static final String SYSTEMRIGHT_LIST = "systemRightList";
//SystemRight-END

//SystemCharacter-START
    /**
     * The request scope attribute that holds the systemCharacter form.
     */
    public static final String SYSTEMCHARACTER_KEY = "systemCharacterForm";

    /**
     * The request scope attribute that holds the systemCharacter list
     */
    public static final String SYSTEMCHARACTER_LIST = "systemCharacterList";
//SystemCharacter-END





















//CardTime-START
    /**
     * The request scope attribute that holds the cardTime form.
     */
    public static final String CARDTIME_KEY = "cardTimeForm";

    /**
     * The request scope attribute that holds the cardTime list
     */
    public static final String CARDTIME_LIST = "cardTimeList";
//CardTime-END

//WorkOverTime-START
    /**
     * The request scope attribute that holds the workOverTime form.
     */
    public static final String WORKOVERTIME_KEY = "workOverTimeForm";

    /**
     * The request scope attribute that holds the workOverTime list
     */
    public static final String WORKOVERTIME_LIST = "workOverTimeList";
//WorkOverTime-END

//SysAnnounce-START
    /**
     * The request scope attribute that holds the sysAnnounce form.
     */
    public static final String SYSANNOUNCE_KEY = "sysAnnounceForm";

    /**
     * The request scope attribute that holds the sysAnnounce list
     */
    public static final String SYSANNOUNCE_LIST = "sysAnnounceList";
//SysAnnounce-END

//PersonalRest-START
    /**
     * The request scope attribute that holds the personalRest form.
     */
    public static final String PERSONALREST_KEY = "personalRestForm";

    /**
     * The request scope attribute that holds the personalRest list
     */
    public static final String PERSONALREST_LIST = "personalRestList";
//PersonalRest-END



//Category-START
    /**
     * The request scope attribute that holds the category form.
     */
    public static final String CATEGORY_KEY = "categoryForm";

    /**
     * The request scope attribute that holds the category list
     */
    public static final String CATEGORY_LIST = "categoryList";
//Category-END

//Reason-START
    /**
     * The request scope attribute that holds the reason form.
     */
    public static final String REASON_KEY = "reasonForm";

    /**
     * The request scope attribute that holds the reason list
     */
    public static final String REASON_LIST = "reasonList";
//Reason-END

}





























































